package com.pth.dao;

import java.util.List;

import com.pth.model.Exam;

public interface ExamDAO {

	public void save(Exam exam);
	
	public Exam getExamByeid(int eid);
	
	public void update(Exam exam);
	
	public List<Exam> getallExams();
	
	public void delete(Exam exam);
	
	public Exam getLastExam();
	
	public int getAllNum();
	
	public List<Exam> getExamNoOff(final int pagesize,final int offset);
	
	public int getnumStateON();
	
	public List<Exam> getExamBMONforTask();
	
	public List<Exam> getExamBMON(final int pagesize,final int offset);
	
	public int getnumStateBmON();
	
	public List<Exam> getExamONforTask();
	
	
	public Exam getExamByExamtime(String examtime);
	
	
}
